﻿create proc thuan_qtdanhmucloaimenuxoa
@ID int
as
if not exists(select * from DanhMuc_LoaiMenu Where MaLoaiMenu=@ID)
begin
select ErrCode=0
end
else
begin
delete from DanhMuc_LoaiMenu WHere MaLoaiMenu=@ID
select ErrCode=1
end
